package sk.hackcraft.multibox.android.net;

import java.io.IOException;
import java.util.List;

import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.util.EntityUtils;
import org.json.JSONException;
import org.json.JSONObject;

public class RegistrationRequest extends Request
{
	public RegistrationRequest()
	{
		super(null);
	}
	
	@Override
	public void run() throws IOException, JSONException
	{
		HttpResponse response = httpClient.execute(httpPost);
		
		String data = EntityUtils.toString(response.getEntity());

		getCallback().sendData(data);
	}
}
